import {http} from '@/utils/http'

// 添加采集数据
export function addCrawlerData(data:any) {
    return http.post<any>('/admin/crawlerData/addCrawlerData', data)
}

// 修改采集数据
export function updateCrawlerData(data:any) {
    return http.post<any>('/admin/crawlerData/updateCrawlerData', data)
}

// 删除采集数据
export function deleteCrawlerData(id:string) {
    return http.post<any>('/admin/crawlerData/deleteCrawlerData/'+id)
}

// 获取采集数据详情
export function getCrawlerData(id:any) {
    return http.post<any>('/admin/crawlerData/getCrawlerData/'+id)
}

// 获取采集数据分页列表
export function getCrawlerDataPage(data:any) {
    return http.post<any>('/admin/crawlerData/getCrawlerDataPage', data)
}

// 发布
export function release(data:any) {
    return http.post<any>('/admin/crawlerData/release', data)
}

// 翻译
export function translationDataContent(data:any) {
    return http.post<any>('/admin/crawlerData/translationContent', data)
}


















